package com.neusoft.elmboot.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import com.neusoft.elmboot.po.Image;

import java.util.List;

@Mapper
public interface ImageMapper {

    @Select("select * from image")
    public List<Image> listAllImage();

    @Select("select imgData from image where imgId=#{imgId}")
    public String listImageById(Integer imgId);
}

//已解决